/* ========== DISEÑO DEL TÍTULO ========== */

.faq-header {
    text-align: center;
    margin-bottom: 50px;
}

.faq-title {
    font-size: 3em;
    color: #a0281a;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    position: relative;
    display: inline-block;
    font-family: 'Montserrat', sans-serif;
    background: linear-gradient(to right, #a0281a, #ff7a59);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: fadeIn 1.2s ease-in-out;
}

.faq-underline {
    width: 80px;
    height: 5px;
    background-color: #a0281a;
    margin: 15px auto 0;
    border-radius: 3px;
    animation: growBar 1s ease-in-out;
}


/* Animaciones suaves */

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes growBar {
    from {
        width: 0;
    }
    to {
        width: 80px;
    }
}


/* ========== DISEÑO DE PREGUNTAS Y RESPUESTAS ========== */

.faq-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
}

.faq-item {
    background-color: #fff7f5;
    border-left: 5px solid #a0281a;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: fadeIn 1s ease-in-out;
}

.faq-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.faq-item h3 {
    font-size: 1.3em;
    font-weight: 700;
    color: #a0281a;
    font-family: 'Montserrat', sans-serif;
    margin-bottom: 10px;
    padding-left: 28px;
    position: relative;
}

.faq-item h3::before {
    content: "❓";
    position: absolute;
    left: 0;
    top: 0;
    font-size: 1.2em;
    color: #ff7a59;
}

.faq-item p {
    font-size: 1em;
    line-height: 1.6;
    color: #333;
    font-family: 'Montserrat', sans-serif;
    padding-left: 5px;
}


/* Responsive para móviles */

@media (max-width: 768px) {
    .faq-item h3 {
        font-size: 1.1em;
    }
    .faq-item p {
        font-size: 0.95em;
    }
}